package com.xq.tmall.entity;

import java.io.Serializable;

/**
 * (Detailaddress)实体类
 *
 * @author makejava
 * @since 2022-01-27 16:19:48
 */
public class Detailaddress implements Serializable {
    private static final long serialVersionUID = 370937327435715816L;

    private Integer id;
    /**
     * 用户编号
     */
    private Integer userId;
    /**
     * 地址编码
     */
    private Integer addressId;
    /**
     * 详细地址
     */
    private String detailAddress;
    /**
     * 邮政编码
     */
    private String post;
    /**
     * 接收人
     */
    private String receiver;
    /**
     * 电话号码
     */
    private String phone;
    /**
     * 默认地址
     */
    private Integer defultState;


    public Integer getId() {
        return id;
    }

    public Detailaddress setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public Detailaddress setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public Detailaddress setAddressId(Integer addressId) {
        this.addressId = addressId;
        return this;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public Detailaddress setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
        return this;
    }

    public String getPost() {
        return post;
    }

    public Detailaddress setPost(String post) {
        this.post = post;
        return this;
    }

    public String getReceiver() {
        return receiver;
    }

    public Detailaddress setReceiver(String receiver) {
        this.receiver = receiver;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public Detailaddress setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public Integer getDefultState() {
        return defultState;
    }

    public Detailaddress setDefultState(Integer defultState) {
        this.defultState = defultState;
        return this;
    }

}
